﻿<?php
    include_once("checkAuthenticationAction.php");
    include_once("../service/categoryService.php");
	$cat_id = (isset($_GET["id"])?$_GET["id"]:0);
	echo deleteCategory($cat_id);
	
	echo "<script>window.location.href='../admin/category.php';</script>";
?>